<html lang="en-au" ng-app="Gantt">
<div ng-controller="init">
    <meta charset="utf-8">
    <li class="has-sub" ng-repeat="(key,item) in menus" ng-init="$parent.showThisBlock='';$parent.selectThisBlock=-1;active=-1">
        <a ng-click="$parent.showThisBlock=showThisBlock==key?'':key">
            <i class="fa fa-bookmark-o fa-fw"></i> <span class="menu-text">{{key}}</span>
            <span class="arrow"></span>
        </a>
        <ul class="sub" style="display:block" ng-show="$parent.showThisBlock==key">
            <li ng-repeat="(k,v) in item" ng-click="$parent.$parent.selectThisBlock=$parent.$index;$parent.active=$index;goSref(v)" class="{{selectThisBlock==$parent.$index&&active==$index?'active':''}}">
                <a>
                    <span class="sub-menu-text">{{k}}</span>
                </a>
        </ul>
    </li>
</div>
<script src="../../bower_components/angular/angular.js"></script>
<script src="../../assets/js/jquery/jquery-2.0.3.min.js"></script>
<script src="../../assets/js/jquery/jquery-migrate-1.2.1.min.js"></script>
<script src="Gantt.controller.js"></script>
</html>